
* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}
body{
    background-color: white !important;
}
section {
    width: 1300px;
    position: relative;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    /* 水平移动和垂直移动到中心 */
}

.ask-concern{
    background-color: white !important;
    color: grey !important;
    border: 1px solid #b6b5b5 !important;
}
#top {
    float: left;
    width: 100%;
    margin-top: 0px;
    border-bottom: 2px solid #57CC99;
    padding-bottom: 10px;
}

#store-title {
    float: left;
    width: 350px;
}

#top img {
    float: left;
    width: 200px;
    height: 80px;
}

#store-title p {
    width: 350px;
    float: left;
    font-size: 20px;
    margin-left: 20px;
    line-height: 40px;
    font-weight: bold;
    color: rgb(86, 85, 85);
}

#concern {
    border: 1px;
    border-radius: 20px;
    background-color: #57CC99;
    padding: 5px 10px;
    font-size: 15px;
    font-weight: bolder;
    color: #F0F0F0;
    cursor: pointer;
    margin-left: 20px;
}

.ask-concern {
    background-color: white !important;
    color: grey !important;
    border: 1px solid #b6b5b5 !important;
}

#contact {
    float: right;
    margin-right: 30px;
    line-height: 80px;
    font-size: 25px;
}

#center {
    width: 100%;
    /* border-bottom: 1px solid black; */
    margin-top: 5px;
    float: left;
}

#center img {
    float: left;
    width: 100%;
}

#center-left {
    float: left;
}

#center-left #opt li {
    width: 200px;
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid black;
    border-right: 1px solid grey;
    margin-top: 5px;
    text-align: center;
    font-size: 17px;
    color: grey;
    cursor: pointer;
}

#center-right {
    float: left;
    width: 1065px;
    margin-left: 30px;
    border-right: 1px solid grey;
    border-bottom: 1px solid black;
}

#commodity,
#recommend-commodity {
    width: 100%;
}

#commodity li,
#recommend-commodity li {
    float: left;
    width: 150px;
    height: 200px;
    border-bottom: 1px solid black;
    border-right: 1px solid gray;
    margin: 10px 5px;
    /* border-radius: 8px; */
}

#commodity li img,
#recommend-commodity li img {
    width: 130px;
    margin: 10px 10px;
}

#commodity li p:first-of-type,
#recommend-commodity li p:first-of-type {
    margin-left: 4px;
    font-size: 12px;
    width: 20ch;
    /* 设置宽度为20个字符的宽度 */
    white-space: nowrap;
    /* 禁止换行 */
    overflow: hidden;
    /* 隐藏溢出部分 */
    text-align: center;
}

#commodity li p:last-of-type,
#recommend-commodity li p:last-of-type {
    width: 80px;
    color: red;
    margin: 5px;
    font-size: 13px;
    font-weight: bold;
}
.red{
    color:red;
}
.process{
    color: red;
    float: right;
    text-align: right;
    font-size: 12px;
    font-weight: bold;
    margin-top: -20px !important;
    position: relative;
    left: -20px;
}
#recommend-commodity li {
    clear: left;
    position: relative;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

#recommend-commodity {
    position: relative;
    margin-top: 20px;
    padding-bottom: 10px;
    float: left;
    width: 99%;
    border-right: 1px solid grey;
    border-bottom: 1px solid black;
    margin-bottom: 30px;
}

#recommend-commodity li:first-of-type {
    width: 100%;
    height: 40px;
    line-height: 40px;
    margin-left: 1.2px;
    border-left: 1px solid grey;
    background-color: white;
    border-right: 0px;
    margin-top: -10px;
    text-align: center;
    font-weight: bold;
    color: #b6b5b5;
}

.operate {
    float: right;
    text-align: right;
    margin-top: -24px;
    margin-right: 4px;
    position: relative;
    z-index: 10;
}

.operate .purchase {
    cursor: pointer;
    border: 1px solid red;
    padding: 2px 5px;
    font-size: 10px;
    float: left;
}

.delete {
    border: 1px solid red;
    padding: 2px 5px;
    font-size: 10px;
    float: right;
}

#a {
    float: left;
    width: 100%;
    height: 300px;
}

/*
添加商品
*/

.show-hide {
    width: 503px;
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 999;
    transform: translateX(-50%)translateY(-20%);
    background-color: rgba(128, 128, 128, 0.01);
    padding: 300px 400px;
}

.modify-top {
    width: 100%;
    height: 40px;
    line-height: 40px;
    background-color: #57CC99;
    color: white;
}

.modify-top span:first-of-type {
    text-indent: 0.5em;
    float: left;
}

.modify-top span:last-of-type {
    margin-right: 10px;
    font-size: 20px;
    float: right;
    cursor: pointer;
}

.line {
    border: 1px solid #57CC99;
    border-top: -10px;
    width: 500px;
}

.modify-center {
    width: 100%;
    height: 340px;
    position: relative;
    background-color: white !important;
    text-align: center;
}

.modify-center label {
    height: 40px;
    margin-top: 10px;

}

.modify-center input {
    height: 40px;
    line-height: 40px;
    width: 200px;
    border: 0px;
    margin-top: 10px;
    border-bottom: 1px solid #57CC99;
}

.modify-center input:focus {
    outline: none;
    text-indent: 2em;
    border-bottom: 1px solid #57CC99;
}

label:last-of-type {
    float: left;
    margin-left: 110px;
    margin-top: 30px;
}

.custom-file-upload {
    float: left;
    /* border: 1px solid black !important; */
    height: 40px;
    line-height: 40px;
    text-align: left;
    width: 200px;
    position: relative;
    overflow: hidden;
    margin-left: 40px;
    margin-top: 20px;
}

.custom-file-upload input[type="file"] {
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    opacity: 0;
    background: red;
    /* Fallback for IE7 and IE8 */
    background: rgba(0, 0, 0, 0);
    /* Black background with opacity */
    cursor: inherit;
    display: block;
}

.addCommodity {
    position: relative;
    left: -120px;
    top: -40px;
    text-align: center;
    width: 100px;
    height: 40px;
    line-height: 40px !important;
    background-color: #57CC99;
    color: white;
    border: 0px;
    cursor: pointer;
}

.modify-footer {
    background-color: white;
    text-align: right;
    width: 460px;
    position: relative;
    top: -10px;
    z-index: 9;
}

.modify-footer a {
    display: inline-block;
    width: 60px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    border: 1px solid #75f1bb;
    border-radius: 2px;
    margin-left: 10px;
    font-size: 14px;
    color: #75f1bb;
}

.modify-footer .btn-confirm {
    background: #75f1bb;
    color: #fff;
}

#fileCount {
    font-size: 8px;
}